advancement revoke @s only vs:killer
execute unless score game_run system matches 1 run return fail
tag @s add killer

scoreboard players operation @s RewardGet += @p[tag=kill] KillReward
scoreboard players add @s RewardGet 5
execute as @p[tag=kill] if score @s KillReward matches 2.. run tellraw @a [{"text":"[全频段广播] ","color":"yellow"},{"selector":"@p[tag=killer]"},{"text":"终结了","color":"yellow"},{"selector":"@s"},{"text":"的连杀,并赚取了","color": "yellow"},{"score":{"name":"@s","objective":"KillReward"},"color":"black"},{"text":"颗虚空源质","color":"yellow"}]
execute as @p[tag=kill] if score @s KillReward matches 1.. run scoreboard players set @s KillReward 0
execute as @p[tag=kill] if score @s KillReward matches -4..0 run scoreboard players remove @s KillReward 1

tag @p[tag=kill] remove kill
tag @s remove killer